from rest_framework.routers import DefaultRouter
from .views import QueryDatabaseInfoViewSet, RunSqlTaskViewSet

query_router = DefaultRouter()
query_router.register('databaseinfo', QueryDatabaseInfoViewSet, basename="databaseinfo")
query_router.register('runsql_task', RunSqlTaskViewSet, basename="runsql_task")
